package com.jxc.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Library entity. @author MyEclipse Persistence Tools
 */

public class Library implements java.io.Serializable {

	// Fields

	private Integer id;
	private Order order;
	private Staff staff;
	private String sn;
	private String state;
	private Date librarytime;
	private String remarks;
	private Set librarylists = new HashSet(0);
	private Set transports = new HashSet(0);

	// Constructors

	/** default constructor */
	public Library() {
	}

	/** full constructor */
	public Library(Order order, Staff staff, String sn, String state,
			Date librarytime, String remarks, Set librarylists, Set transports) {
		this.order = order;
		this.staff = staff;
		this.sn = sn;
		this.state = state;
		this.librarytime = librarytime;
		this.remarks = remarks;
		this.librarylists = librarylists;
		this.transports = transports;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Order getOrder() {
		return this.order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getLibrarytime() {
		return this.librarytime;
	}

	public void setLibrarytime(Date librarytime) {
		this.librarytime = librarytime;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Set getLibrarylists() {
		return this.librarylists;
	}

	public void setLibrarylists(Set librarylists) {
		this.librarylists = librarylists;
	}

	public Set getTransports() {
		return this.transports;
	}

	public void setTransports(Set transports) {
		this.transports = transports;
	}

}